Skip to content

Fix out of bounds read#55

Merged
hsbt merged 1 commit into
ruby:masterfrom
RDIL:reece/fix-oob-read
Jun 24, 2026
Merged

Fix out of bounds read#55
hsbt merged 1 commit into
ruby:masterfrom
RDIL:reece/fix-oob-read

Conversation

@RDIL

@RDIL RDIL commented Apr 18, 2026

Copy link
Copy Markdown
Contributor

While working on #54, I found that ASAN flags this line because this function call tries to read 53 bytes of a 50-byte string. That's not right!

You can see this yourself, it's triggered while running the test suite, specifically test/test_exception.rb. Thankfully, it has no security implications.

Note: build is blocked on #56

While working on ruby#54, I found that ASAN flags this line because this function call tries to read 53 bytes of a 50-byte string. That's not right!
@hsbt hsbt force-pushed the reece/fix-oob-read branch from 8ea1911 to 9667cd5 Compare June 24, 2026 07:32
@hsbt hsbt merged commit c1cbbd5 into ruby:master Jun 24, 2026
24 checks passed
@RDIL RDIL deleted the reece/fix-oob-read branch June 24, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants